# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: team/gnome <pabloyoyoista@postmarketos.org>
pkgname=gnome-shell-extensions
pkgver=47.1
pkgrel=0
pkgdesc="collection of extensions for GNOME Shell"
url="https://apps.gnome.org/Extensions"
arch="noarch"
license="GPL-2.0-or-later"
makedepends="
	gettext-dev
	glib-dev
	meson
	sassc
	"
subpackages="$pkgname-lang"
source="https://download.gnome.org/sources/gnome-shell-extensions/${pkgver%.*}/gnome-shell-extensions-$pkgver.tar.xz"

build() {
	abuild-meson \
		-Dextension_set=all \
		-Dclassic_mode=true \
		. output
	meson compile -C output
}

check() {
	meson test --no-rebuild --print-errorlogs -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
f825d67000204117cc088f7ef74eab6ea7d49c6360ff124eeeb4d4c66028e74fddc04ff4fd19bc1f9c68bbd6e478be0b5527119c605722be1037e3e8e5ea844e  gnome-shell-extensions-47.1.tar.xz
"
